﻿@model ExcerciseQuestion
@if (Model.A.IsNotEmpty())
{
    <li class="item-content">
        <div class="item-inner">
            <div class="item-title" style="width:100%">
                <input class="uicheck" id="answerA" type="radio" @Html.IsDisabled(Model.UserSelected.HasValue) @Html.IsChecked(Model.UserSelected.HasValue && Model.UserAnswer.Equals("A")) value="A" style="margin-right: 10px;">
                <label for="answerA" style="width: 100%;white-space: normal;">
                    A、@Model.A
                </label>
            </div>
        </div>
    </li>
}
@if (Model.B.IsNotEmpty())
{
    <li class="item-content">
        <div class="item-inner">
            <div class="item-title" style="width:100%">
                <input class="uicheck" id="answerB" type="radio" @Html.IsDisabled(Model.UserSelected.HasValue) @Html.IsChecked(Model.UserSelected.HasValue && Model.UserAnswer.Equals("B")) value="B" style="margin-right: 10px;">
                <label for="answerB" style="width: 100%;white-space: normal;">
                    B、@Model.B
                </label>
            </div>
        </div>
    </li>
}